package com.des1gn.servicea.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("serviceb")
public interface ServicebFeign {

    /**
     * 调用b服务
     * @param ack
     * @return
     */
    @RequestMapping("test")
    public String test(@RequestParam("ack") String ack);

}
